<?php
if (!defined('baseinfo')) {
    exitdata();
}   

include(templatepath.'/header.php');

?>
<div class="ctn widthCtnDvc clBg2">

<?
if(!$_GET['noheader']){
include(templatepath.'/leftmenu.php');  
include(templatepath.'/rightmenu.php'); 
}


?>
            <!--middle content wrapper-->
            <div class="wrpOutMid w960 clBg3 <?if (defined('ClassCover')&&$data['file']=="profile") {  echo  ClassCover; }?>">
                <? include(templatepath.'/subheader.php');  ?>
                <div class="wrpInMid w960 <?if($data['nowfeature']['isiframe']){echo 'iframeInMid';}?>" style="<?if($data['nowfeature']['isiframe']){echo 'overflow-y:hidden';}?>">
                       
                     <div class="wrpOutCtnt w960">
                        <div class="wrpInCtnt" style="<?
                        if($data['nowfeature']['isiframe']&&preg_match('/(alcatel|amoi|android|avantgo|blackberry|benq|cell|cricket|docomo|elaine|htc
|iemobile
|iphone|ipad|ipaq|ipod|j2me|java|midp|mini|mmp|mobi|motorola|nec-|nokia|palm|panasonic|philips|phone|sagem|sharp
|sie-|smartphone|sony|symbian|t-mobile|telus|up\.browser|up\.link|vodafone|wap|webos|wireless|xda|xoom|zte)/i', $_SERVER['HTTP_USER_AGENT']))
                        { ?>overflow:scroll !important;-webkit-overflow-scrolling:touch !important;<?}?>">
                         
                         <?

                        if($data['nowfeature']['isiframe'])
                        {


                        
                        ?>
                           <iframe class="bgIframe" id="bgIframeid" src="<?=$data['nowfeature']['linkifame']?>"></iframe>
                        <?
                        
                        }else if($data['nowfeature']['islink'])
                        {
                        

                        if($data['nowfeature']['link'])
                            {
                            include(templatepath.'/'.$data['nowfeature']['link'].'.php');     
                            }
                        }else
                        {
                        

                        if($data['file'])
                            {
                            
                            include(templatepath.'/'.$data['file'].'.php');     
                            }
                        }
                        

                        ?>
                        
                        </div> 
                        
                        </div>
                </div>
            </div>
        </div>  

<?





include(templatepath.'/footer.php');           

include(templatepath.'/closer.php');           

?>

